//
//  MyTableViewCell.m
//  UI19_Work 汽车之家
//
//  Created by Apple on 16/8/10.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "MyTableViewCell.h"

@implementation MyTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _picImageView = [[UIImageView alloc] init];
        _titleLabel = [[UILabel alloc] init];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _picImageView.frame = CGRectMake(0, 0, 90, 70);
    [self.contentView addSubview:_picImageView];
    _titleLabel.frame = CGRectMake(100, 15, 150, 40);
    [self.contentView addSubview:_titleLabel];
}










- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
